aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/ecash/[id]/+layout.server.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-09-03 14:35:48 -0700
committerAdam Soltys <[email protected]>2024-09-03 14:35:48 -0700
commit379ac2a5c9c5c63a67bb999b6875ecff33a15b2b (patch)
tree983c362a02b0361214a4c742869b0b3a83ec7577 /src/routes/(app)/ecash/[id]/+layout.server.ts
parenta89d4ee9b9bf0c15505a58803585f1847731983e (diff)
downloadcoinos-ui-379ac2a5c9c5c63a67bb999b6875ecff33a15b2b.tar.gz
coinos-ui-379ac2a5c9c5c63a67bb999b6875ecff33a15b2b.zip
ecash version toggle
Diffstat (limited to 'src/routes/(app)/ecash/[id]/+layout.server.ts')
-rw-r--r--src/routes/(app)/ecash/[id]/+layout.server.ts8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/routes/(app)/ecash/[id]/+layout.server.ts b/src/routes/(app)/ecash/[id]/+layout.server.ts
deleted file mode 100644
index 5de15341..00000000
--- a/src/routes/(app)/ecash/[id]/+layout.server.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-import { get } from "$lib/utils";
-
-export async function load({ params }) {
- let { id } = params;
- let { token, status } = await get(`/cash/${id}`);
- let { spent, total, mint, external } = status;
- return { id, token, spent, total, mint, external };
-}